package com.hqq.behaviour.command;

/**
 * Command
 * 命令Command 声明了一个给所有具体命令类的抽象接口。这是一个抽象角色。
 * Created by heqianqian on 2017/6/15.
 */
public abstract class Command {
    public Command() {
    }

    public abstract void execute(Target target);

    public abstract void undo();

    public abstract void redo();

    @Override
    public abstract String toString();

}
